<?php
namespace App\Modules\Fund;
use App\Modules\AdapterApi;
use App\Services\Fund\FundIndex;
/**
 * Created by PhpStorm.
 * User: 97606
 * Date: 2018/6/12
 * Time: 10:10
 */
class FundUnfreezeLog extends AdapterApi
{
    // 获取所资金解冻日志(分页)
    public function list(): array
    {
        $data = pick_array($this->postData, ['page', 'list_rows','keywords','startTime','endTime']);
        return FundIndex::FundUnfreezeLog()->list($data);
    }
    // 获取某些user_ids的的资金解冻日志(分页)
    public function listByUserIds(): array
    {
        $data = pick_array($this->postData, ['page', 'list_rows','user_ids']);
        return FundIndex::FundUnfreezeLog()->listByUserIds($data);
    }
    // 获取某个冻结日志的资金解冻日志
    public function listByFreezeId(): array
    {
        $data = pick_array($this->postData, ['freeze_log_id']);
        return FundIndex::FundUnfreezeLog()->listByFreezeId($data);
    }

}